<!DOCTYPE html>
<html>

<head lang="en">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>这是ejs模板Login页面</title>
</head>

<body>
    <h1>登录</h1> 
    <form action="/main" method="post">
        <input type="text" name="username" /><br>
        <input type="password" name="password" /><br>
        <input type="submit" value="登录" />
    </form>
   <a href="/register">去到注册页面</a>
</body>

</html>